package com.example.edu_sugar.service;

import com.example.edu_sugar.mapper.CourseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

// 接口的实现
// 添加service注解，springboot才任务这是一个service
@Service
public class CourseServiceImpl implements CourseService{

    @Autowired
    CourseMapper courseMapper;

    @Override
    public Long markScore(int date) {
        return courseMapper.markScore(date);
    }
}
